import fly from './fly'

export function list (params) {
  return fly.get('red-packets', params)
}

export function allCanUse (params) {
  return fly.get('red-packets/all-can-use', params)
}
export function receiveOne (params) {
  return fly.post('red-packets/receive-one', params)
}
